﻿using Microsoft.VisualStudio.Modeling.Validation;

namespace UofCASE.AgileProductLinerDSL {
    /// <summary>
    /// Implements the Alternative domain concept
    /// </summary>

    public partial class Alternative {
        /// <summary>
        /// Gets the value of the MinMaxIntervalText calculated property
        /// </summary>
        /// <returns></returns>
        public string GetMinMaxIntervalTextValue() {
            return string.Format("[{0}..{1}]", this.Min, this.Max);
        }
    }
}
